<%-- 
    Document   : pridatZbozi
    Created on : 27.5.2011, 13:12:50
    Author     : papa
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<script type="text/javascript" >
function lyze(){
  document.getElementById('s').style.visibility='hidden';
  document.getElementById('ss').style.visibility='hidden';
  document.getElementById('sss').style.visibility='hidden';
  document.getElementById('ssss').style.visibility='hidden';
  document.getElementById('l').style.visibility='visible';
  document.getElementById('ll').style.visibility='visible';
  document.getElementById('lll').style.visibility='visible';
};

function snow(){
  document.getElementById('s').style.visibility='visible';
  document.getElementById('ss').style.visibility='visible';
  document.getElementById('sss').style.visibility='visible';
  document.getElementById('ssss').style.visibility='visible';
  document.getElementById('l').style.visibility='hidden';
  document.getElementById('ll').style.visibility='hidden';
  document.getElementById('lll').style.visibility='hidden';
};
</script>


<div class="hlavni_text">
    <h2>Přidat zboží</h2>
    <div>
        <table>
            <form action="ControllerPridatZbozi" method="get">
                <tr>
                    <td><label for="zbozi">Zboží:</label></td><td></td>
                </tr>
                <tr>
                    <td><label for="zbozi">Snowboard:</label><input checked type="radio" name="zbozi" value="1" onclick="snow()"/>
                
                        <label for="zbozi">Lyže:</label><input type="radio" name="zbozi" value="2" onclick="lyze()"/></td>
                </tr>
                <tr>
                    <td><label for="nazev">Název:</label></td><td><input type="text" name="nazev" value="nazev"/></td>
                </tr>
                <tr>
                    <td><label for="cena">Cena:</label></td><td><input type="text" name="cena" value="5000"/></td>
                </tr>
                <tr>
                    <td><label for="delka">Délka:</label></td><td><input type="text" name="delka" value="165"/></td>
                </tr>
                <tr>
                    <td><label for="extra">Extra:</label></td><td><input type="text" name="extra" value="extra"/></td>
                </tr>
                <tr>
                    <td><label for="pocetKusu">Počet kusů:</label></td><td><input type="text" name="pocetKusu" value="10"/></td>
                </tr>
                <tr>
                    <td><label for="urcenoPro">Určeno pro:</label></td><td></td>
                </tr>
                <tr>
                    <td><label for="urcenoPro">Muže:</label><input checked type="radio" name="urcenoPro" value="1"/>
                
                    <label for="urcenoPro">Ženy:</label><input type="radio" name="urcenoPro" value="2"/>
                
                    <label for="urcenoPro">Děti:</label><input type="radio" name="urcenoPro" value="3"/></td>
                </tr>
                <tr>
                    <td><label for="znacka">Značka:</label></td><td><input type="text" name="znacka" value="gravity"/></td>
                </tr>
                <tr>
                    <td><label for="obr">Fotka:</label></td><td><input type="file" name="obr" value="gravity.jpg"/></td>
                </tr>
                <tr id="s">
                    <td><label for="jadro">Jádro:</label></td><td></td>
                </tr>
                <tr id="ss">
                    <td><label for="jadro">Dřevěné:</label><input checked type="radio" name="jadro" value="1"/>
                
                    <label for="jadro">Pěnové:</label><input type="radio" name="jadro" value="2"/></td>
                </tr>
                <tr id="sss">
                    <td><label for="typVazani">Typ vázání:</label></td><td></td>
                </tr>
                <tr id="ssss">
                    <td><label for="typVazani">Freestyle:</label><input checked type="radio" name="typVazani" value="1"/>
                
                    <label for="typVazani">Deskové:</label><input type="radio" name="typVazani" value="2"/></td>
                </tr>
                <tr  id="l">
                    <td><label for="krojeni">Krojení:</label></td><td><input type="text" name="krojeni" value=""/></td>
                </tr>
                <tr  id="ll">
                    <td><label for="styl">Styl:</label></td><td></td>
                </tr>
                <tr  id="lll">
                    <td><label for="styl">Skialp:</label><input type="radio" name="styl" value="1"/>
                
                    <label for="styl">Freeride:</label><input type="radio" name="styl" value="2"/>
                
                    <label for="styl">Carving:</label><input type="radio" name="styl" value="3"/></td>
                </tr>
                <tr>
                    <td><input type="submit" name="odeslat" value="Odeslat"/></td>
                </tr>
            </form>
        </table>
    </div>
</div>
